package com.demo;

//测试
public class test {
    public static void main(String[] args) {
        Account zhangSan = new Account("张三",100);
        zhangSan.cun(20);
        System.out.println("余额为："+zhangSan.getBalance());
        zhangSan.qu(10);
        System.out.println("余额为："+zhangSan.getBalance());

        System.out.println(zhangSan.toString());

    }
}
